package com.yiran.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.extern.slf4j.Slf4j;

@Slf4j
@Data
@TableName(value = "tb_user")
public class User {
    @TableId(type= IdType.ASSIGN_ID)//雪花ID
    private Long id;
    private String username;
    private String password;
    private String salt;
    private String departmentId;
    private String positionId;
    private Integer status;
    @TableLogic
    private Integer deleted;

}
